<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;


?>

<div class="supplier-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'layout' => 'inline',
    ]); ?>


    <?= $form->field($model, 'type')->dropdownList(\Yii::$app->params['supplier_type'], ['prompt'=>Yii::t('app.supplier', 'Type')]) ?> 

    <?= $form->field($model, 'en_name')->textInput(['placeholder'=>Yii::t('app.supplier', 'En Name')]) ?>
   

    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
